package test;
import java.util.Timer;
import java.util.TimerTask;

import pattern.*;
import windowsCursor.myCursor;

public class test {

	/*public static final int WHOLE_RELAX = 0;
	public static final int TOP_DOWN = 1;
	public static final int BOTTOM_DOWN = 2;
	public static final int INSIDE_DOWN = 3;
	public static final int OUTSIDE_DOWN = 4;
	
	public static final int TOP_INSIDE_DOWN = 5;
	public static final int TOP_OUTSIDE_DOWN = 6;
	public static final int BOTTOM_INSIDE_DOWN = 7;
	public static final int BOTTOM_OUT_DOWN = 8;
	
	public static final int WHOLE_DOWN = 9;
	
	private int current = WHOLE_RELAX;*/
	
	public static void main(String args[]){
		
		Timer myTimer = new Timer();
		byte input = 0;
		final byte key = (byte) 0x11;
		final byte reference = (byte) 0x9d;
		
		final State[] states = {new State(0),new State(1),new State(0),new State(2),new State(0),new State(3),new State(0),new State(4),new State(0),new State(9),new State(0)};
		
		myTimer.schedule(new TimerTask(){
			
			int i = 0;
			public void run(){			
				
				Action action = new Action(states[i]);
				action.doAction();
				i = (i+1)%11;
				myCursor.position();
			}
			
		}, 0, 500);
	}//End of second main();*/

}
